package com.lushu.chapitre1.graphics.elements.enums
{
	public class AnimatedObjectType
	{
		private static const ANIMATION_URL : String = "http://dev.lushu.org/sfdk/"
		private static const ANIMATION_URL2 : String = "http://dev.lushu.org/spritesheetEditor/vetements/"
		private static const MODULE_URL : String = "http://dev.lushu.org/gameData/farmModule/"
		public static const ANIMATION_PATH : String = ANIMATION_URL+"spritesheets/output/";
		private static const ANIMAUX_PATH : String = ANIMATION_PATH+"force/";
        public static const NPC_PATH : String = ANIMATION_PATH+"npc/";
		private static const FERME_PATH : String = ANIMAUX_PATH+"ferme/";
		private static const NATURE_PATH : String = ANIMAUX_PATH+"nature/";
		
		public static const PLAYER : String = ANIMATION_URL+"spritesheetM.pck";
		public static const HEADGEAR_TEST : String = ANIMATION_URL2+"headgear/headgear11rose.pck";
		public static const COUPE_TEST : String = ANIMATION_URL2+"coupe/coupeM01gris.pck";
		
		public static const NPC_TEST : String = ANIMATION_URL+"npc/npc_han_lisa.pck";
		
		public static const ELT_TEST : String = MODULE_URL+"test3.pck";
		public static const HERBE_TEST : String = MODULE_URL+"testLayer.pck";
		
		public static const POUSSIN : String = ANIMAUX_PATH+"bowi.pck";
		public static const POULE : String = ANIMAUX_PATH+"KrysBlock.pck";
		public static const COQ : String = ANIMAUX_PATH+"LizaBlock.pck";
		
		public static function getAnimatedObject(graphicalType : String) : String
		{
			var upperType : String = graphicalType.toUpperCase();
			switch(upperType)
			{
				case "POUSSIN":
					return POUSSIN;
				break;
				
				case "NPC_TEST":
					return NPC_TEST;
					break;
				
				case "PLAYER":
					return PLAYER;
				break;
				
				default:
					return POUSSIN;
				break;
			}
		}
	}
}